@-webkit-keyframes bounce {
	  0% { -webkit-transform: translateY(0); }
	100% { -webkit-transform: translateY(-20px); }
}

@-moz-keyframes bounce {
	  0% { -moz-transform: translateY(0); }
	100% { -moz-transform: translateY(-20px); }
}
/* @end */

/* @group Dock */
.dock {
	position: absolute;
	bottom: 0;
	z-index: 10;
	width: 100%;
	text-align: center;
	font: normal 13px/1 'Lucida Grande', Arial, sans-serif;
}

.dock ul {
	position: relative;
	display: inline-block;
	padding: 0;
	margin: 0;
}

/* Creates the left and right end caps of the dock. You may not need these
when creating your own dock. */
.dock ul:before, .dock ul:after {
	content: " ";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 31px;
}

/*.dock ul:before {
	left: -31px;
}

.dock ul:after {
	right: -31px;
}*/
/* @end */

/* @group Items */
/* Defines a dock item. Note the `-webkit-box-reflect` property which creates a nice
reflection below the item. The gradient is a mask in order to exlcude the status
indicator from the reflection. */
.dock li {
	display: inline-block;
	position: relative;
	margin: 0 40px;
	vertical-align: baseline;
	/*-webkit-box-reflect: below -16px -webkit-gradient(
		linear, left top, left bottom,
		from(transparent),
		color-stop(91%, rgba(255, 255, 255, .1)),
		color-stop(91.01%, transparent),
		to(transparent)
	);*/
}

.dock a {
	display: inline-block;
	cursor: default;
	outline: none;
}
/* Applies the bounce animation to the targeted dock item.  */
/*.dock li:target a {
	-webkit-animation: bounce .3s 6 alternate ease-out;
	-moz-animation: bounce .3s 6 alternate ease-out;
}

/* Generates the status indicator. Looks complex but most of this stuff is just 
repetition with different vendor prefixes. Isn't it fun to write everything 
three times? *sigh* */
.dock li:after {
	content: " ";
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 5px;
	height: 5px;
	opacity: 0;
	visibility: hidden;
	background-color: rgba(255, 255, 255, .8);
	margin-left: -2px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 
		inset 0 1px 3px rgba(75, 255, 255, .4),
		0 0 4px rgba(75, 255, 255, .5),
		0 -1px 7px rgb(75, 255, 255);
	-moz-box-shadow: 
		inset 0 1px 3px rgba(75, 255, 255, .4),
		0 0 4px rgba(75, 255, 255, .5),
		0 -1px 7px rgb(75, 255, 255);
	box-shadow: 
		inset 0 1px 3px rgba(75, 255, 255, .4),
		0 0 4px rgba(75, 255, 255, .5),
		0 -1px 7px rgb(75, 255, 255);
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-o-transition: opacity .5s;
}

/* Displays the status indicator of the targeted dock item. */
/*.dock li:target:after {
	visibility: visible;
	opacity: 1;
}
/* @end */

/* @group Label */
/* This is just a wrapper in order to center the actual label horizontally. You
may need to adjust the width negative margin if you have really long labels. */
.dock em {
	position: absolute;
	top: 37px;
	left: 50%;
	display: none;
	width: 170px;
	margin-left: -85px;
	text-align: center;
	cursor:pointer;
}

/* Generates the little arrow at the bottom of the label. */
.dock em:after {
	content: " ";
	position: absolute;
	top: -4px;
	left: 52%;
	margin-left: -6px;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-bottom: 4px solid rgba(0, 0, 0, .8);
	border-top: none;
}

/* This is the actual label. */
.dock em span {
	display: inline-block;
	padding: 5px 12px;
	font-size: 12px;
	font-style: normal;
	font-weight: bold;
	color: #FFF;
	background: #000;
	background: rgba(0, 0, 0, .8);
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .9);
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	-o-border-radius: 1px;
	border-radius: 1px;
	cursor:pointer;
}

.dock li:hover em {
	display: block;
}
/* @end */

/* @group Icon */
/* Sets the icons to a smaller width so they can be enlarged and applies
transitions for a smooth animation. Make sure to adjust the width so it 
matches your images. */
.dock img {
	width: 30px;
	height: auto;
	border: none;
	-webkit-transition: width .2s, height .2s;
	-moz-transition: width .2s, height .2s;
	-o-transition: width .2s, height .2s;
	cursor:pointer;
}
 
.dock li:hover img {
	width: 30px;
}

.dock li:active img {
	opacity: .9;
}
/* @end */